Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Cluster  Resource  Group  Information  

 Content of List Cluster Resource Group Information.vbs
MD5 Hash: 41D72F836CCE10C1B1141EB62F510AC4
' Description: Returns information about all the cluster resource groups on a computer.


On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\mscluster")

Set colItems = objWMIService.ExecQuery("Select * from MSCluster_ResourceGroup")

For Each objItem in colItems
Wscript.Echo "Auto-failback type: " & objItem.AutoFailbackType
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Characteristics: " & objItem.Characteristics
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Failback window end: " & objItem.FailbackWindowEnd
Wscript.Echo "Failback window start: " & objItem.FailbackWindowStart
Wscript.Echo "Failover period: " & objItem.FailoverPeriod
Wscript.Echo "Failover threshold: " & objItem.FailoverThreshold
Wscript.Echo "Flags: " & objItem.Flags
Wscript.Echo "Installation date: " & objItem.InstallDate
Wscript.Echo "Load balance state: " & objItem.LoadBalState
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Persistent state: " & objItem.PersistentState
Wscript.Echo "State: " & objItem.State
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a